﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MvcDesign.Core.CoreDataModel
{
    public class UserRoleMapping : IDataObject
    {
        [Key, Column(Order = 0), Required]
        public long UserId { get; set; }

        [Key, Column(Order = 1), Required]
        public long RoleId { get; set; }
    }
}
